package com.stone.sys.action;

/**
 * <pre>
 * 日志信息维护
 * @author jz
 * </pre>
 */

import com.stone.sys.service.LogService;

import frm.ssh.action.BaseAction;
import frm.ssh.exception.AppException;

public class LogAction extends BaseAction {
	
	private static final long serialVersionUID = -4647594073681054487L;

	private LogService logService;
	
	private String id;
	
	/**
	 * 删除
	 * @return
	 * @throws AppException
	 */
	public String delete() throws AppException {
		
		logService.doDelAll(id,"TLog");
		
		return "DEL-SUCCESS";
		
	}

	public void setLogService(LogService logService) {
		this.logService = logService;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}


}
